package com.example.minademo.dao;

import com.example.minademo.entity.LoginUser;
import org.springframework.data.jpa.repository.JpaRepository;

public interface LoginUserDao  extends JpaRepository<LoginUser,Integer> {

    LoginUser getByUserId(Integer id);

    LoginUser getBySessionId(Long id);

}
